package com.bruce.demo2.patterns.demo1.creational.demo05.builder.demo1;

/**
 * @PROJECT_NAME design_patterns
 * @DESCRIPTION 具体建造者-构建摩拜单车
 * @AUTHOR CNBruceLee
 * @DATE 2021/7/12 21:59
 */
public class MobikeBuilder extends Builder {
    public void builderFrame() {
        mBike.setFrame("碳纤维");
    }

    public void builderSeat() {
        mBike.setSeat("牛皮座椅");
    }

    public Bike createBike() {
        return mBike;
    }
}
